<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'wduser.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  <script>"undefined"==typeof CODE_LIVE&&(!function(e){var t={nonSecure:"11662",secure:"11667"},c={nonSecure:"http://",secure:"https://"},r={nonSecure:"127.0.0.1",secure:"gapdebug.local.genuitec.com"},n="https:"===window.location.protocol?"secure":"nonSecure";script=e.createElement("script"),script.type="text/javascript",script.async=!0,script.src=c[n]+r[n]+":"+t[n]+"/codelive-assets/bundle.js",e.getElementsByTagName("head")[0].appendChild(script)}(document),CODE_LIVE=!0);</script></head>
  
  <body data-genuitec-lp-enabled="false" data-genuitec-file-id="wc1-37" data-genuitec-path="/wanda Maven Webapp/src/main/webapp/WEB-INF/jsp/selectAllwduser.jsp">
   <table border="1" data-genuitec-lp-enabled="false" data-genuitec-file-id="wc1-37" data-genuitec-path="/wanda Maven Webapp/src/main/webapp/WEB-INF/jsp/selectAllwduser.jsp">  
       <tbody>  
            <tr>  
               <th>用户姓名</th>  
               <th>用户电话</th>  
               <th>操作</th>  
            </tr>  
            <c:if test="${!empty  wduserlist }">  
                <c:forEach items="${ wduserlist}" var="user">  
                   <tr>  
                       <td>${user.name }</td>  
                       <td>${user.tel }</td>  
                        
                          <a href="<%=basePath%>user/getUser?id=${user.userId}">编辑</a>  
                           <a href="javascript:del('${user.userId }')">删除</a>  
                        </td>  
                   </tr>               
               </c:forEach>  
           </c:if>  
        </tbody>  
   </table>  
   
  </body>
</html>
